package com.vivien.example.springbootdemo.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@TableName("Products")
public class Products {
    @TableId
    private Long productId;
    private String name;
    private String category;
    private String productImage;
    private String company;
    private BigDecimal price;
    private String detailUrl;
    private String description;
    @TableField("CreatedAt")
    private Timestamp createdAt;
    @TableField("UpdatedAt")
    private Timestamp updatedAt;
}
